<!DOCTYPE html>
<html>
<head>
	<title>订单详情</title>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	<meta content="yes" name="apple-mobile-web-app-capable">
	<meta content="yes" name="apple-touch-fullscreen">
	<meta content="telephone=no,email=no" name="format-detection">
	<link rel="stylesheet" href="http://www.youyiku-yishu.cn/Apps/WebApp/View/default/css/normalize.css" type="text/css">
	<link rel="stylesheet" type="text/css" href="http://www.youyiku-yishu.cn/Apps/WebApp/View/default/css/orderDetails.css">
	<script type="text/javascript" src="http://www.youyiku-yishu.cn/Apps/WebApp/View/default/js/jquery-1.7.2.min.js"></script>
	<script type="text/javascript" src="http://www.youyiku-yishu.cn/Apps/WebApp/View/default/js/jisuan.js">
	</script>
	<script type="text/javascript">
		//调用微信JS api 支付
//		function jsApiCall()
//		{
//			WeixinJSBridge.invoke(
//					'getBrandWCPayRequest',
//			<?php echo $jsApiParameters; ?>,
//			function(res){
////					alert(JSON.stringify(res));
////                    alert(res.err_msg)
//                 // WeixinJSBridge.log(res.err_msg);
//				if(res.err_msg == "get_brand_wcpay_request:ok"){
////                        alert(1)
//					/*这里写如果支付成功的话执行什么操作*/
////						alert('支付成功'+JSON.stringify(res));
//					wstMsg('下单成功');
//					setTimeout(function(){
//						location.href = WST.U('WebApp/Orders/index');
//					}, 500);
//					storageRemoveItem('orderInfo');
//				}else{
//					//返回跳转到订单详情页面
//					alert('支付失败');
//
//				}
//			}
//		);
//		}
//		function callpay()
//		{
//			if (typeof WeixinJSBridge == "undefined"){
//				if( document.addEventListener ){
//					document.addEventListener('WeixinJSBridgeReady', jsApiCall, false);
//				}else if (document.attachEvent){
//					document.attachEvent('WeixinJSBridgeReady', jsApiCall);
//					document.attachEvent('onWeixinJSBridgeReady', jsApiCall);
//				}
//			}else{
//				jsApiCall();
//			}
//		}

	</script>
	<style type="text/css">
		.zhifu{
			width:9.466667rem;
			margin:0 auto;
			height:auto;
			overflow: hidden;
			padding-top:0.746667rem;
		}
		.zhifu_img{
			width:3.15rem;
			height:1.546667rem;
			float: left;
		}
		.zhifubao{
			width:100%;
			height:100%;
			position: fixed;
			bottom:0;
			left:0;
			display: none;
		}
		.zTop{
			position: absolute;
			bottom:0;
			left:0;
			background:#000;
			opacity: .5;
			width:100%;
			height:100%;
		}
		.Zbot{
			width:5.866667rem;
			height:3.6rem;
			position: absolute;
			top:50%;
			left:50%;
			padding:0.4rem;
			margin-top:-2rem;
			margin-left:-3.33333rem;
			background:#fff;
			color:#202020;
			font-size:0.32rem;
		}
		.botText{
			width:100%;
			height:70%;
			word-break: break-all;
			word-wrap:break-word;
		}
		.topText{
			width:100%;
			height:1.06rem;
			text-align: center;
			font-size:0.37rem;
			color:#787878;
			line-height: 1.06rem
		}
		.yzm{
			color:#FFFFFF;
			margin-left:4.5rem;
			width:2.8rem;
			height: 1.25rem;text-align: center;
			line-height: 1.25rem;
			 background-color: #12CC0D;
			box-shadow: 0 0.1rem 0.16rem 0 rgba(140,140,140,0.50);
			margin-top: 0.05rem;
		}
	</style>
</head>
<body>
<div class="container">
	<div class="main">
	
	</div>
		<div class="zhifu">
					<div class="zhifu_img">
						<img src="http://www.youyiku-yishu.cn/Apps/WebApp/View/default/images/Rectangle 33.png" style="width:100%;height:100%;">
					</div>		
					<div class="yzm">支付宝支付</div>									
		</div>
</div>
<include file="./Apps/WebApp/View/default/common_js.html" />
<script type="text/javascript" src="../js/photoNewBook/jquery-1.10.2.min.js"></script>
<script src="../js/sureOrder.js"></script>
<script type="text/javascript" src="../js/communal.js"></script>
<script>
	
	
	
	
	
	$('.zTop').click(function(){
		$('.zhifubao').hide();
	})
	function wxPayOrder(orderId){
		location.href= WST.U('WebApp/Cart/wxpay','orderId='+orderId);
	}
	function aliPayOrder(orderId){
		location.href = WST.U('WebApp/Hot/getParams', 'orderId='+orderId);
	}
	function taobaoOrder(orderId,userPhone){
//		$.post(WST.U('WebApp/Orders/sendPhoneCodeToBind'), {orderId: orderId ,userPhone: userPhone}, function(data){

//			var json = WST.toJson(data);
//			alert(json);
//			if(json.status == 1){
				location.href = WST.U('WebApp/Hot/taobao', 'orderId='+orderId);
//			}


//		});

	}
function Toorder(orderId){
	window.location.href = WST.U('WebApp/Orders/sureOrder2','orderId='+orderId);
}
</script>
</body>
</html>